const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    host: '0.0.0.0',
    // port: port,
    open: true,
    proxy: {
      '/api': {
        target: `xxx`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + '/api']: ''
        }
      }
    },
    client: {
      overlay: false
    }
  },
})
